Optimal. Leaf size=150 \[ \frac {3 A b^2 \tan (c+d x)}{4 d (b \sec (c+d x))^{4/3}}-\frac {3 b (A+4 C) \sin (c+d x) \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )}{4 d \sqrt {\sin ^2(c+d x)} \sqrt [3]{b \sec (c+d x)}}-\frac {3 b^2 B \sin (c+d x) \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};\cos ^2(c+d x)\right )}{4 d \sqrt {\sin ^2(c+d x)} (b \sec (c+d x))^{4/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.20, antiderivative size = 150, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, integrand size = 41, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.122, Rules used = {16, 4047, 3772, 2643, 4045} \[ \frac {3 A b^2 \tan (c+d x)}{4 d (b \sec (c+d x))^{4/3}}-\frac {3 b (A+4 C) \sin (c+d x) \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )}{4 d \sqrt {\sin ^2(c+d x)} \sqrt [3]{b \sec (c+d x)}}-\frac {3 b^2 B \sin (c+d x) \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};\cos ^2(c+d x)\right )}{4 d \sqrt {\sin ^2(c+d x)} (b \sec (c+d x))^{4/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2643
Rule 3772
Rule 4045
Rule 4047
Rubi steps
\begin {align*} \int \cos ^2(c+d x) (b \sec (c+d x))^{2/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx &=b^2 \int \frac {A+B \sec (c+d x)+C \sec ^2(c+d x)}{(b \sec (c+d x))^{4/3}} \, dx\\ &=b^2 \int \frac {A+C \sec ^2(c+d x)}{(b \sec (c+d x))^{4/3}} \, dx+(b B) \int \frac {1}{\sqrt [3]{b \sec (c+d x)}} \, dx\\ &=\frac {3 A b^2 \tan (c+d x)}{4 d (b \sec (c+d x))^{4/3}}+\frac {1}{4} (A+4 C) \int (b \sec (c+d x))^{2/3} \, dx+\left (b B \left (\frac {\cos (c+d x)}{b}\right )^{2/3} (b \sec (c+d x))^{2/3}\right ) \int \sqrt [3]{\frac {\cos (c+d x)}{b}} \, dx\\ &=-\frac {3 B \cos ^2(c+d x) \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};\cos ^2(c+d x)\right ) (b \sec (c+d x))^{2/3} \sin (c+d x)}{4 d \sqrt {\sin ^2(c+d x)}}+\frac {3 A b^2 \tan (c+d x)}{4 d (b \sec (c+d x))^{4/3}}+\frac {1}{4} \left ((A+4 C) \left (\frac {\cos (c+d x)}{b}\right )^{2/3} (b \sec (c+d x))^{2/3}\right ) \int \frac {1}{\left (\frac {\cos (c+d x)}{b}\right )^{2/3}} \, dx\\ &=-\frac {3 (A+4 C) \cos (c+d x) \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right ) (b \sec (c+d x))^{2/3} \sin (c+d x)}{4 d \sqrt {\sin ^2(c+d x)}}-\frac {3 B \cos ^2(c+d x) \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};\cos ^2(c+d x)\right ) (b \sec (c+d x))^{2/3} \sin (c+d x)}{4 d \sqrt {\sin ^2(c+d x)}}+\frac {3 A b^2 \tan (c+d x)}{4 d (b \sec (c+d x))^{4/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.18, size = 116, normalized size = 0.77 \[ -\frac {3 \sqrt {-\tan ^2(c+d x)} \cot (c+d x) (b \sec (c+d x))^{2/3} \left (A \cos ^2(c+d x) \, _2F_1\left (-\frac {2}{3},\frac {1}{2};\frac {1}{3};\sec ^2(c+d x)\right )+4 B \cos (c+d x) \, _2F_1\left (-\frac {1}{6},\frac {1}{2};\frac {5}{6};\sec ^2(c+d x)\right )-2 C \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};\sec ^2(c+d x)\right )\right )}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.46, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (C \cos \left (d x + c\right )^{2} \sec \left (d x + c\right )^{2} + B \cos \left (d x + c\right )^{2} \sec \left (d x + c\right ) + A \cos \left (d x + c\right )^{2}\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}} \cos \left (d x + c\right )^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 2.44, size = 0, normalized size = 0.00 \[ \int \left (\cos ^{2}\left (d x +c \right )\right ) \left (b \sec \left (d x +c \right )\right )^{\frac {2}{3}} \left (A +B \sec \left (d x +c \right )+C \left (\sec ^{2}\left (d x +c \right )\right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}} \cos \left (d x + c\right )^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\cos \left (c+d\,x\right )}^2\,{\left (\frac {b}{\cos \left (c+d\,x\right )}\right )}^{2/3}\,\left (A+\frac {B}{\cos \left (c+d\,x\right )}+\frac {C}{{\cos \left (c+d\,x\right )}^2}\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________